package base.response;

/**
 * 统一返回结果类
 * Created by admin on 2017/2/18.
 */
public class BaseResult {

    // 状态码：1成功，0失败
    public int status;

    // 失败原因
    public String message;

    // 数据结果集
    public Object data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}
